package org.feng.api.animal.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.feng.api.sys.annotations.TableColumnDesc;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 查询动物响应对象
 *
 * @author feng
 */
@Data
@ApiModel(description = "查询动物响应对象")
public class QueryAnimalVo implements Serializable {
    @Serial
    private static final long serialVersionUID = -6370738437251154975L;

    @TableColumnDesc(value = "编号")
    @ApiModelProperty(name = "id", value = "id")
    private Long id;

    @TableColumnDesc(value = "动物名称", order = 1)
    @ApiModelProperty(name = "name", value = "动物名称")
    private String name;

    @TableColumnDesc(value = "年龄", order = 3)
    @ApiModelProperty(name = "age", value = "年龄")
    private Integer age;

    @ApiModelProperty(name = "animalTypeCode", value = "动物类型code")
    private Integer animalTypeCode;

    @TableColumnDesc(value = "动物类型", order = 2)
    @ApiModelProperty(name = "animalTypeName", value = "动物类别名称")
    private String animalTypeName;

    @ApiModelProperty(name = "animalSexCode", value = "动物性别code")
    private Integer animalSexCode;

    @TableColumnDesc(value = "性别", order = 4)
    @ApiModelProperty(name = "animalSexName", value = "动物性别名称")
    private String animalSexName;

    @TableColumnDesc(value = "备注", order = 200)
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    @ApiModelProperty(name = "updateTime", value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private LocalDateTime createTime;

    @TableColumnDesc(value = "更新时间", order = 99)
    private String updateTimeStr;
    @TableColumnDesc(value = "创建时间", order = 100)
    private String createTimeStr;
}
